package com.bestcem.xm.user.service.dto.group;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * 开放平台组织层级导入excel-组织sheet
 *
 * @author wangyunyun <yunyun.wang@idiaoyan.com>
 * @version v1.0
 * @date 2022/4/22 13:47
 */
@Getter
@Setter
public class OpenGroupImportDTO {

    /**
     * 组名
     */
    @ExcelProperty(value = "name", index = 0)
    private String groupName;

    /**
     * 组编码
     */
    @ExcelProperty(value = "code", index = 1)
    private String groupCode;

    /**
     * 层级名称
     */
    @ExcelProperty(value = "level_name", index = 2)
    private String levelName;

    /**
     * 上级组织编码
     */
    @ExcelProperty(value = "parent_code", index = 3)
    private String parentCode;

    /**
     * 组负责人账户的id
     */
    @ExcelProperty(value = "admin_id", index = 4)
    private String adminId;

    /**
     * 是否为根节点
     */
    @ExcelProperty(value = "root_flag", index = 5)
    private Boolean rootFlag;

}
